package redis;

import pub.tbc.atps.util.RedisHelper;
import redis.clients.jedis.Jedis;

import java.util.Set;

/**
 * @author tbc on 2016/12/2 15:10:29.
 */
public class RedisConnector {
    public static void main(String[] args) {
        Jedis jedis = RedisHelper.getClient();
        Set<String> keys = jedis.keys("*");
        System.out.println(keys);

        Long isD = jedis.del("task.queue.test.key");
        System.out.println(isD);
    }
}
